.class Lcom/netease/newsreader/activity/CollectActivity$4;
.super Ljava/lang/Object;
.source "CollectActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/activity/CollectActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/CollectActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/CollectActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    .line 446
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "arg0"

    .prologue
    const/4 v3, 0x0

    .line 449
    iget-object v1, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/CollectActivity;->access$1(Lcom/netease/newsreader/activity/CollectActivity;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_0

    .line 450
    iget-object v1, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    const-string v2, "\u6ca1\u6709\u6536\u85cf\u6570\u636e"

    invoke-static {v1, v2, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 457
    :goto_0
    iget-object v1, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    iget-object v1, v1, Lcom/netease/newsreader/activity/CollectActivity;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->dismiss()V

    .line 458
    iget-object v1, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    invoke-static {v1, v3}, Lcom/netease/newsreader/activity/CollectActivity;->access$7(Lcom/netease/newsreader/activity/CollectActivity;Z)V

    .line 459
    return-void

    .line 452
    :cond_0
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 453
    .local v0, i:Landroid/content/Intent;
    iget-object v1, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    const-class v2, Lcom/netease/newsreader/activity/CollectDeleteActivity;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 454
    const-string v1, "type"

    iget-object v2, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/CollectActivity;->access$6(Lcom/netease/newsreader/activity/CollectActivity;)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 455
    iget-object v1, p0, Lcom/netease/newsreader/activity/CollectActivity$4;->this$0:Lcom/netease/newsreader/activity/CollectActivity;

    invoke-virtual {v1, v0}, Lcom/netease/newsreader/activity/CollectActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0
.end method
